﻿using System;
using System.Net;

namespace OpenWaves.Video
{
    public abstract class VideoApi
    {

        protected static Func<Url, string> GetDefaultWebClient()
        {
            return url =>
            {
                using (var webClient = new WebClient())
                {
                    return webClient.DownloadString(url);
                }
            };
        }
    }


    public enum VideoApiResult
    {
        Ok,
        NotSupported,
    }
}